package eteam.aps.model.entity.other;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 出库单
 *
 * @author LiuLei
 */
@ApiModel(description = "出库单信息", value = "OutBound")
@JsonIgnoreProperties(ignoreUnknown = true)
public class OutBound {

    @ApiModelProperty("行号")
    @JsonAlias("rowno")
    private String rowNo;

    @ApiModelProperty("物料编号")
    @JsonAlias("inventorycode")
    private String invCode;

    @ApiModelProperty("物料名称")
    @JsonAlias("inventoryname")
    private String invName;

    @ApiModelProperty("物料规格")
    @JsonAlias("inventorystd")
    private String invStd;

    @ApiModelProperty("批号")
    @JsonAlias("serial")
    private String serial;

    @ApiModelProperty("仓库编号")
    private String wareHouseCode;

    @ApiModelProperty("仓库名称")
    private String wareHouseName;

    @ApiModelProperty("需求数")
    @JsonAlias("quantity")
    private BigDecimal qty;

    @ApiModelProperty("本次已发数")
    private BigDecimal alreadyQty;

    public String getRowNo() {
        return rowNo;
    }

    public void setRowNo(String rowNo) {
        this.rowNo = rowNo;
    }

    public String getInvCode() {
        return invCode;
    }

    public void setInvCode(String invCode) {
        this.invCode = invCode;
    }

    public String getInvName() {
        return invName;
    }

    public void setInvName(String invName) {
        this.invName = invName;
    }

    public String getInvStd() {
        return invStd;
    }

    public void setInvStd(String invStd) {
        this.invStd = invStd;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getWareHouseCode() {
        return wareHouseCode;
    }

    public void setWareHouseCode(String wareHouseCode) {
        this.wareHouseCode = wareHouseCode;
    }

    public String getWareHouseName() {
        return wareHouseName;
    }

    public void setWareHouseName(String wareHouseName) {
        this.wareHouseName = wareHouseName;
    }

    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }

    public BigDecimal getAlreadyQty() {
        return alreadyQty;
    }

    public void setAlreadyQty(BigDecimal alreadyQty) {
        this.alreadyQty = alreadyQty;
    }
}
